<template>
  <div class="cluster-content">
    <span @click="navToDetail">{{ msg }}</span>
  </div>
</template>

<script lang="ts">
import BaseMixin  from '@/mixins/base.mixin'
import { Options, Vue, mixins } from 'vue-class-component';

@Options({})
export default class PodList extends mixins(BaseMixin) {

  msg: string = 'n+';
  cluster: string = 'current';
  created() {
    // console.log('get into pod list -', this.msg, this.cluster, this.$router);
  }

  navToDetail() {
    this.$router.push('/pod/12');
  }

}
</script>

<style scoped>
.cluster-content {
  margin: 0px;
}

</style>
